list = ['张三','李四','王五','赵六','田七','王八','牌九']

print('come and have dinner,' + str(list))

list2 = [];
list2.append(list.pop(len(list) -3))
list2.append(list.pop(len(list) -2))
print('they will not come,' + str(list2))

list.append('hehe')

print('come and have dinner,' + str(list))

list.insert(0,"first")
list.insert(3,"mid")
list.append("last")

print('they 3 added to come to dinner,' + str(list))

item = list.pop();
print('i am sorry ,u r out,' + item)
item = list.pop();
print('i am sorry ,u r out,' + item)
item = list.pop();
print('i am sorry ,u r out,' + item)
item = list.pop();
print('i am sorry ,u r out,' + item)
item = list.pop();
print('i am sorry ,u r out,' + item)
item = list.pop();
print('i am sorry ,u r out,' + item)
item = list.pop();
print('i am sorry ,u r out,' + item)


item = list[0];
print('please come,' + item)
item = list[1];
print('please come,' + item)

print(list[2])

del(list[0])
del(list[0])

print (list)

